﻿IF (OBJECT_ID('fn_WX_GetHello') IS NOT NULL)
BEGIN
    DROP FUNCTION fn_WX_GetHello;
END;
GO
-- =============================================
-- Author:		<于大明>
-- Create date: <2018-09-13>
-- Description:	<说明: 获取名字加hello>
-- Example:  SELECT dbo.fn_WX_GetHello('123')
-- =============================================
CREATE FUNCTION [dbo].[fn_WX_GetHello]
(
    @Str NVARCHAR(20)
)
RETURNS VARCHAR(20)
AS
BEGIN
    RETURN @Str+'Hello'
END;